package Service;

import Dao.Dao;

import java.sql.SQLException;

public class Loginservice {

    public Boolean login(String name, String pwd) throws SQLException {
        Dao dao = new Dao();
        Boolean selectone = dao.selectone(name, pwd);
        return selectone;
    }
}
